﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Vega.USiteBuilder;

namespace SPCFMedicineInformer.DocumentTypes
{
    [DocumentType(Name="Consultation",
        IconUrl = "settingsScript.gif"
    )]
    public class Consultation : SPCFMedicineInformer.DocumentTypes.ConsulationFolder
    {
        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "UserId", Description = "",
           Tab = Constants.Tabs.Content)]
        public string UserId { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "User", Description = "",
           Tab = Constants.Tabs.Content)]
        public string User { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Date Of Consultation", Description = "",
           Tab = Constants.Tabs.Content)]
        public string DateOfConsultation { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Consultant Name", Description = "",
           Tab = Constants.Tabs.Content)]
        public string ConsultantName { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Gender", Description = "",
           Tab = Constants.Tabs.Content)]
        public string Gender { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Date of Birth", Description = "",
           Tab = Constants.Tabs.Content)]
        public string DateOfBirth { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Address", Description = "",
           Tab = Constants.Tabs.Content)]
        public string Address { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Has Allergy With Medicine", Description = "",
           Tab = Constants.Tabs.Content)]
        public string HasAllergyWithMedicine { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Allergy Name", Description = "",
           Tab = Constants.Tabs.Content)]
        public string AllergyName { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "How long have you had this condition", Description = "",
           Tab = Constants.Tabs.Content)]
        public string HowLongHaveYouHadThisCondition { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "When did you notice it", Description = "",
           Tab = Constants.Tabs.Content)]
        public string WhenDidYouNotice { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TextboxMultiple, Name = "Symptoms", Description = "delimited by comma",
           Tab = Constants.Tabs.Content)]
        public string Symptoms { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TextboxMultiple, Name = "Possible Medicines", Description = "delimited by comma",
           Tab = Constants.Tabs.Content)]
        public string PossibleMedicines { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TextboxMultiple, Name = "Symptom Names", Description = "delimited by comma",
           Tab = Constants.Tabs.Content)]
        public string SymptomNames { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TextboxMultiple, Name = "Possible Medicine Names", Description = "delimited by comma",
           Tab = Constants.Tabs.Content)]
        public string PossibleMedicineNames { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TrueFalse, Name = "Is Pregnant", Description = "",
           Tab = Constants.Tabs.Content)]
        public string IsPregnant { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Age", Description = "",
           Tab = Constants.Tabs.Content)]
        public string Age { get; set; }
    }
}
